package com.dco.dcowebhook.dto;

import lombok.Data;

import java.time.LocalDateTime;
@Data
public class CommitStatusDTO {
    private String repositoryName;
    private String repositoryOwner;
    private String pusher;
    private String sha;
    private boolean isSigned;
    private LocalDateTime receivedAt;

    public CommitStatusDTO(String repositoryName, String repositoryOwner, String pusher,
                           String sha, boolean isSigned, LocalDateTime receivedAt) {
        this.repositoryName = repositoryName;
        this.repositoryOwner = repositoryOwner;
        this.pusher = pusher;
        this.sha = sha;
        this.isSigned = isSigned;
        this.receivedAt = receivedAt;
    }

}
